window_get_pointer should return the direct child
authorAlexander Larsson <alexl@redhat.com>
Thu, 4 Jun 2009 16:45:35 +0000 (18:45 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 5 Jun 2009 13:18:36 +0000 (15:18 +0200)
commit247e1945a0b915725e752764bd8f7d8d46223849
tree46613e2b5a93290e4b3607a1f98e42e54cc2cdd8
parent55ee12c296a23f09fa274c6adb5f4214f9d2aade
window_get_pointer should return the direct child

We returned the innermost child that has the pointer, which is not right.
Only the direct child that has the pointer in it should be reported (if any).
gdk/gdkdisplay.c
gdk/gdkinternals.h
gdk/gdkwindow.c